package com.bestcem.xm.ticket.service.dto.mq;

import com.alibaba.fastjson.annotation.JSONField;
import com.bestcem.xm.ticket.enums.SurveyTitleTypeEnum;
import com.bestcem.xm.ticket.enums.TicketConditionCategoryEnum;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * mq解析Condition
 *
 * @author jy.zhao
 * @version 1.0
 * @date 2021/8/20 20:20
 **/
@Data
@ToString
@NoArgsConstructor
public class FilterDTO {

    /**
     * 题目类型
     *
     * @see SurveyTitleTypeEnum
     */
    private Integer operation;

    /**
     * 类别
     *
     * @see TicketConditionCategoryEnum
     */
    private Integer category;

    /**
     * 根据题目类型变化，不固定
     */
    private String value;

    /**
     * 问题源
     */
    private String sourceQ;

    /**
     * 条件名称
     */
    @JSONField(name = "trigger_name")
    private String triggerName;

}
